class TextHandler:
    def __init__(self):
        self.num = '888'
        self.letter = 'hi zoo'
        print('init')

    def __del__(self):
        print('del')

    def show(self, num):
        self.num = num
        print 'xyz', num


class XmlHandler(TextHandler):
    def __init__(self):
        print('init2')

    def __del__(self):
        print('del2')

    def show(self, num, letter):
        self.num = num
        self.letter = letter
        print 'xyz', num, letter
